package com.light.boot_demo.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface RecyclerMapper {

    @Insert("INSERT INTO `test` VALUES (2, 'hello')")
    void insert();

    @Update("update `test01` set name='aaa'")
    void update();

    @Update("update `goods` set clothes='0'")
    void update01();

//    @Update("update goods set clothes=0")
//    public void updateumber();
}
